import axios from '@/libs/api.request'

export const getList = (params) => {
  return axios.request({
    url: 'wx/attendance/list',
    method: 'get',
    params: params
  })
}

export const changeStatus = (status, id) => {
  return axios.request({
    url: 'wx/user/changeStatus',
    method: 'get',
    params: {
      status: status,
      id: id
    }
  })
}

export const getWxUserDetail = (id) => {
  return axios.request({
    url: 'wx/user/detail',
    method: 'get',
    params: {
        id: id
    }
  })
}

export const realNameAuthApi = (id) => {
    return axios.request({
      url: 'wx/user/realAuth',
      method: 'get',
      params: {
          id: id
      }
    })
  }



